package leegproject.client;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Vak implements Serializable {

	private static final long serialVersionUID = 1L;
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long curuscode;
	@Persistent
	private String cursusname;
	@Persistent
	private String omschrijving;
	
	
	public Vak() {
		super();
	}

	public Vak(String cursusname, String omschrijving) {
		super();
		this.cursusname = cursusname;
		this.omschrijving = omschrijving;
		
	}

	public Long getId() {
		return curuscode;
	}

	public void setId(Long id) {
		this.curuscode = id;
	}

	public String getName() {
		return cursusname;
	}

	public void setCursusname(String name) {
		this.cursusname = name;
	}

	public String getOmschrijving() {
		return omschrijving;
	}

	public void setEmail(String email) {
		this.omschrijving = email;
	}


}

